﻿#ifndef CMDPROJECTTREESELECTIONCHANGED_H
#define CMDPROJECTTREESELECTIONCHANGED_H

#include "CommandManager/CommandBase.h"


namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdProjectTreeSelectionChanged : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdProjectTreeSelectionChanged();
        ~CmdProjectTreeSelectionChanged();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setprojectTreeSelctedRowIDList(QList<int> projectTreeSelctedRowIDList);

    private: 
        QList<int> m_projectTreeSelctedRowIDList;
    };
}

#endif
